package cn.car.domains.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum StatusCode {

    SUCCESS("000000", "成功"),

    DATE_NOT_EXIST("100001","数据不存在"),

    PASSWORD_ERROR("100002","密码不正确"),

    USER_EXIST("100003","用户已存在"),

    DATE_EXIST("100004","数据已存在"),

    FILE_PATH_ERROR("100005","文件路径有误"),

    FILE_UPLOAD_ERROR("100006","文件上传异常"),

    FILE_NOT_FOUND("100007","文件不存在"),

    PARAMS_ERROR("100009","参数异常"),

    SEND_MSG_ERROR("100010","消息发送异常"),

    USER_NOT_EXIST("100013","用户不存在"),

    PASSWORD_INCORRECT("100014","密码不正确"),

    DELETE_NOT_EXIST("100015","删除未删除到数据"),

    UPDATE_NOT_EXIST("100016","更新未删除到数据"),

    INSERT_ERROR("100017","插入数据异常"),

    IMPL_NOT_EXIST("100018","实现类不存在"),

    LEDGER_RECORD_ERROR("100019","台账记录异常"),


    SYSTEM_ERROR("999999","系统异常"),

    ;
    private final String code;
    private final String message;
}
